package com.njwb.day03;

public class cc {
    public static void main(String[] args) {
        int[] is={11,1,45,67,2,30,100,1};
        for(int i=0;i<is.length-1;i++){
            for (int k=i+1;k<is.length;k++){
                if(is[k]<is[i]){
                    int aa=is[i];
                    is[i]=is[k];
                    is[k]=aa;

                }
            }
        }
        for (int i=0;i<is.length;i++){
            System.out.println(is[i]);
        }
    }
}
